﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace ATM.UI
{
    public partial class Welcome : Form
    {
        private readonly BackgroundWorker _bworker = new BackgroundWorker();
        public Welcome()
        {
            InitializeComponent();
            progressBar1.MarqueeAnimationSpeed = 30;
            cbSelectSystem.SelectedIndex = 0;


        }

        private void Form1_Load(object sender, EventArgs e)
        {
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if(cbSelectSystem.SelectedIndex==0)
            {
                MainSystem mainSystemObject = new MainSystem();
                mainSystemObject.Show();
                this.Hide();

            }
        }

       
    }
}
